package net.whzjkj.gateway.tcpserver.processor.command;

import net.whzjkj.gateway.core.constant.JT808Constant;
import net.whzjkj.gateway.model.vo.PackageData;
import net.whzjkj.gateway.tcpserver.processor.AbstractMessageProcessor;
import org.springframework.stereotype.Component;

/**
 * @description: 终端注册应答
 * @author: Mr.Hu
 * @create: 2018-11-06 16:43
 **/
@Component
public class CMD8100 extends AbstractMessageProcessor {

    @Override
    public void processTerminalMessage(PackageData data) throws Exception {

    }

    @Override
    public boolean support(PackageData data) {
        return JT808Constant.CMD_TERMINAL_REGISTER_RESPOND==data.getMessageHeader().getMessageId();
    }
}
